package com.yunban.project.api.text_check.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunban.project.api.text_check.domain.ContentPolishRecord;
import com.yunban.project.api.text_check.dto.ContentPolishReq;
import com.yunban.project.api.text_check.vo.ContentPolishResp;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

/**
 * @author: lijiajun
 * @date: 2025-02-17
 * @version: 1.0
 */
public interface ContentPolishService extends IService<ContentPolishRecord> {

    long saveContentPolishRecord(String text);

    /**
     * 文本润色
     *
     * @param req 需润色的文本
     * @return string
     */
    SseEmitter polish(ContentPolishReq req);
}
